Pod::Spec.new do |s|
  s.ios.deployment_target = "5.0"

  s.name         = 'ShareSDK-KR'
  s.version      = '2.12.0'
  s.license      =  { :type => 'MIT', :file => 'LICENSE' }
  s.homepage     = 'http://http://sharesdk.cn/'
  s.authors      =  { 'Abraham Wang' => '328768132@qq.com' }
  s.summary      = 'ShareSDK'
  s.source       =  { :git => 'https://github.com/azaxas128/ShareSDK-KR.git'}
  s.requires_arc = true

    s.subspec "Base" do |sp|
    sp.framework = 'JavaScriptCore'
    sp.libraries = 'icucore','z','stdc++'
    sp.vendored_frameworks = '*.framework'
    sp.resources = ["*.bundle"]
    end
    s.subspec "QQConnect" do |sp|
      sp.vendored_frameworks = 'extends/QQSDK/*.framework'
      sp.resources = ["extends/QQSDK/*.bundle"]
      sp.libraries = 'sqlite3'
      sp.dependency 'ShareSDK-KR/Base'
    end
    s.subspec "WeChat" do |sp|
      sp.vendored_libraries = 'extends/WeChatSDK/*.a'
      sp.source_files = "extends/WeChatSDK/*.{h,m}"
      sp.libraries = 'sqlite3'
      sp.dependency 'ShareSDK-KR/Base'
    end
end

